package com.jxb;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class ExceptionUtil {

    public static Object fallback(Integer id,Throwable e){
        return "===被异常降级啦===";
    }

    public static Object handleException(Integer id, BlockException e){
        return "===被限流啦===";
    }
}